package com.gmu.mapper;

import com.gmu.pojo.TblActivitiesAddress;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedList;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 活动地点记录 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-07-24
 */
public interface TblActivitiesAddressMapper extends BaseMapper<TblActivitiesAddress> {

    List<TblActivitiesAddress> selectAddressNumber(@Param("activitiesId") Integer activitiesId,@Param("addressId") Integer addressId);

    List<TblActivitiesAddress> getAllWindows(Map<String,Object> map);
    Integer getAllWindowsTotal(Map<String,Object> map);

    List<TblActivitiesAddress> getAllWindowsByIds(Map<String,Object> map);

    Integer getAllWindowsByIdsTotal(Map<String,Object> map);

    List<TblActivitiesAddress> getWindowsById(@Param("activitiesId") Integer activitiesId, @Param("addressId") Integer addressId);

    Integer deleteWindowsByIds(Integer[] activitiesAddressIds);

}
